package com.jml.entity;


public class UserEntity {
    private String name;
    private Integer id;

    public UserEntity() {
    }

    public String getUserName() {
        return name;
    }

    public void setUserName(String userName) {
        this.name = userName;
    }

    public UserEntity(String userName, Integer userId) {
        this.name = userName;
        this.id = userId;
    }

    @Override
    public String toString() {
        return "UserEntity{" +
                "name='" + name + '\'' +
                ", userId=" + id +
                '}';
    }
}

